package com.yuanfengPlus.basicInfoManage.AddressLibrary.service;

import com.yuanfengPlus.basicInfoManage.AddressLibrary.model.AddressLibrary;
import com.yuanfengPlus.utils.Result;

import java.util.List;

public interface IAddressLibraryService {

    /**
     * 查询地址库列表，支持分页和条件查询.
     *
     * @param addressLibrary 查询条件，包括实体类型、地址类型、姓名、手机号、详细地址、默认地址等.
     * @param pageNum 分页起始页码.
     * @param pageSize 分页每页记录数.
     * @return 查询结果列表.
     */
    Result queryAddressLibrary(AddressLibrary addressLibrary, Integer pageNum, Integer pageSize);
    //新增地址库
    Result addAddressLibrary(AddressLibrary addressLibrary);
}
